<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看详情</title>
<link href="/static/css/bootstrap.min.css" rel="stylesheet"/>
</head>
<body> 

<h1 class="page-header">用户 - 详情</h1>
<button class="btn btn-primary" onclick="history.back()">返回</button>

<table class="table table-striped table-bordered">
<#if i.type == 'student'>
    <tr>
		<td>编号</td>
		<td>${i.id}</td>
	</tr>
    <tr>
		<td>姓名</td>
		<td>${i.name!}</td>
	</tr>
    <tr>
		<td>专业</td>
		<td>${i.sin!}</td>
	</tr>
    <tr>
		<td>性别</td>
		<td>${i.sex!}</td>
	</tr>
    <tr>
		<td>出生年月</td>
		<td>${i.born?string('yyyy-MM-dd')}</td>
	</tr>
    <tr>
		<td>民族</td>
		<td>${i.nation}</td>
	</tr>
    <tr>
		<td>籍贯</td>
		<td>${i.bp}</td>
	</tr>
    <tr>
		<td>政治面貌</td>
		<td>${i.ps}</td>
	</tr>
    <tr>
		<td>联系电话</td>
		<td>${i.pno}</td>
	</tr>
    <tr>
		<td>邮箱</td>
		<td>${i.em}</td>
	</tr>
    <tr>
		<td>生源类别</td>
		<td>${i.sc}</td>
	</tr>
</#if>
<#if i.type == 'teacher'>
    <tr>
        <td>编号</td>
        <td>${i.id!}</td>
    </tr>
    <tr>
        <td>姓名</td>
        <td>${i.name!}</td>
    </tr>
    <tr>
        <td>教师职称</td>
        <td>${i.tjn!}</td>
    </tr>
    <tr>
        <td>院系</td>
        <td>${i.tp!}</td>
    </tr>
    <tr>
        <td>学历</td>
        <td>${i.eb!}</td>
    </tr>
    <tr>
        <td>专业</td>
        <td>${i.sin!}</td>
    </tr>
    <tr>
        <td>出生年月</td>
        <td>${i.born?string('yyyy-MM-dd')}</td>
	</tr>
    <tr>
        <td>民族</td>
        <td>${i.nation!}</td>
    </tr>
    <tr>
        <td>籍贯</td>
        <td>${i.bp!}</td>
    </tr>
    <tr>
        <td>政治面貌</td>
        <td>${i.ps!}</td>
    </tr>
    <tr>
        <td>联系电话</td>
        <td>${i.pno!}</td>
    </tr>
    <tr>
        <td>邮箱</td>
        <td>${i.em!}</td>
    </tr>
</#if>
</table>
<script type="text/javascript" src="/static/js/jquery.min.js"></script>
<script type="text/javascript" src="/static/laypage/laypage.js"></script>
<script type="text/javascript">

</script>
</body>
</html>